<%@ page contentType="text/html; charset=UTF-8" %>

<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/tld/extend.tld" prefix="extend"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
	
	<head>
		<title>乐盈培训网 - 显示图片</title>
		<link href="<extend:contextPath name="contextPath"/>/css/style.css" rel="stylesheet" type="text/css" />
	</head>
	
	<body>
		<div style="position:absolute; height:100%; width:1045px;">	
			
			<jsp:include page="../header.jsp"></jsp:include>
			<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:12px;">
				<tr>
					<td height="25px">
						您现在的位置：<a href="<extend:contextPath name="contextPath"/>" class="normal_link">首页</a> >> 
						<a href="<extend:contextPath name="contextPath"/>/admin/goToAdmin.do" class="normal_link">admin</a> >> 显示图片
					</td>
				</tr>
			</table>
	
			<div id="images" style="overflow:hidden; float:left; border-right:#D9D9D9 1px solid; border-left:#D9D9D9 1px solid; 
										border-bottom:#D9D9D9 1px solid; WIDTH:1044px;">
				<ul style="width:1000px; margin-top:10px;">
					<c:forEach items="${images}" var="item">
                  		<li style="display:inline; float:left; margin:0px 10px 10px; width:310px">
							<table width="296" border="0" cellpadding="0" cellspacing="0">
								<tr>
									<td>
										<img height=107px width=87px src="<extend:contextPath name="contextPath"/>/admin/getImage.do?method=getImage&id=${item.id}" border="0"/>
									</td>
								</tr>
								<tr>
									<td><c:out value='${item.fileName}'/></td>
								</tr>							            	  				
            	  			</table>
            	  		</li>
                  	</c:forEach>	
				</ul>
			</div>		
			
		</div>
	</body>
	
</html>